<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/EnterpriseCenter.css" />
	</head>

	<body>
		<div class="EnterpriseCenter">
			<div class="EnterpriseCenter_left">
				<div class="grzx">
					<span>个人中心首页</span>
				</div>
				<ul class="center_ul">
					<li>账户中心</li>
					<li class="wen_tie">企业资料</li>
					<li class="wen_tie">密码安全</li>
					<li class="wen_tie">身份验证</li>
					<li>消息中心</li>
					<li class="wen_tie">我的消息</li>
					<li class="wen_tie">我的订单</li>
				</ul>
			</div>
			<form action="" method="post">
				<div class="EnterpriseCenter_right">
					<ul class="cen_right">
						<li><span class="span_tit">公司名字</span><span class="span_zj" id="it1">名字</span>
							<a href="#" class="edit" onclick="cg(this)" id="a1">编辑</a>
						</li>
						<li><span class="span_tit">法人姓名</span><span class="span_zj" id="it2">真实姓名</span>
							<a href="#" class="edit" onclick="cg(this)" id="a2">编辑</a>
						</li>
						<li><span class="span_tit">统一信用代码</span><span class="span_zj" id="it3">号码</span>
							<a href="#" class="edit" onclick="cg(this)" id="a3">编辑</a>
						</li>
						<li><span class="span_tit">工商注册号</span><span class="span_zj" id="it4">号码</span>
							<a href="#" class="edit" onclick="cg(this)" id="a4">编辑</a>
						</li>
						<li><span class="span_tit">组织机构代码</span><span class="span_zj" id="it5">号码</span>
							<a href="#" class="edit" onclick="cg(this)" id="a5">编辑</a>
						</li>
						<li><span class="span_tit">行业</span><span class="span_zj" id="it6">内容</span>
							<a href="#" class="edit" onclick="cg(this)" id="a6">编辑</a>
						</li>
						<li><span class="span_tit">注册地址</span><span class="span_zj" id="it7">地址</span>
							<a href="#" class="edit" onclick="cg(this)" id="a7">编辑</a>
						</li>
						<li><span class="span_tit">公司类型</span><span class="span_zj" id="it8">内容</span>
							<a href="#" class="edit" onclick="cg(this)" id="a8">编辑</a>
						</li>
						<li><span class="span_tit">登记机关</span><span class="span_zj" id="it9">内容</span>
							<a href="#" class="edit" onclick="cg(this)" id="a9">编辑</a>
						</li>
						<li>
							<span class="span_tit top_tt">简介</span>
							<div class="edit_tea">
								<textarea name="" class="tes in_puy"></textarea>
							</div>
						</li>
						<li><span class="span_tit top_tt">经营范围</span>
							<div class="edit_tea">
								<textarea name="" class="tes in_puy"></textarea>
							</div>
						</li>

					</ul>
				</div>
			</form>
		</div>
		<script>
			cg = function(obj) {
				var o = document.getElementById("it" + obj.id.toString().substr(1));
				if(o.childNodes[0].value) {
					o.innerHTML = o.childNodes[0].value;
				} else {
					o.innerHTML = "<input type='text' value='" + document.getElementById("it" + obj.id.toString().substr(1)).innerHTML + "' />";
				}
			}
		</script>
	</body>

</html>